Gets the heading level (1 to 8).
Level 1 is the top most heading, level 2 headings are children of level 1 and so on.
The level information is used to build the document's outline tree and to generate correctly the heading number if method is true.
Return Value
An integer value greater than 0 and smaller than or equal to 8.